package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.math.BigDecimal;

@Data
@Table(name = "cn_omc_bill_period_fee")
public class OmcBillPeriodFee extends BaseEntity {

    /**
     * 组织Id
     */
    @Column(name = "group_id")
    private Long groupId;

    /**
     * 账单id
     */
    @Column(name = "bill_id")
    private Long billId;

    /**
     * 缴费单生成前余额
     */
    @Column(name = "before_produce_balance")
    private BigDecimal beforeProduceBalance;

    /**
     * 缴费单生成后余额
     */
    @Column(name = "after_produce_balance")
    private BigDecimal afterProduceBalance;

    /**
     * 本周缴费金额
     */
    @Column(name = "the_week_pay_fee")
    private BigDecimal theWeekPayFee;

    /**
     * 上周退费金额
     */
    @Column(name = "last_week_back_fee")
    private BigDecimal lastWeekBackFee;

    /**
     * 上周欠缴金额
     */
    @Column(name = "last_week_owe_fee")
    private BigDecimal lastWeekOweFee;

    /**
     * 实际合计费用
     */
    @Column(name = "total_fee")
    private BigDecimal totalFee;


    /**
     * 备注
     */
    private String remark;


}